package initter

import (
	"MxShop/router"
	"github.com/gin-gonic/gin"
)

func InitRouter() *gin.Engine {
	r := gin.Default()
	ApiRouter := r.Group("user")
	//ApiRouter.GET("login",api.UserLogin)
	//ApiRouter.GET("pay",api.Pay)
	router.InitUserRouter(ApiRouter)
	return r
}
